package fuxi01;

public class Demo9 {
    public static void main(String[] args) {
        String s1 = "hrllo java";
        String s2 = "hrllo java";
        if (s1.equals(s2)) {
            String s3 = s1.replace("", "");
            String s4 = s3.replace("java", "word");
            System.out.println(s4);
        } else {


        }
    }
}